package com.hkts.management.unattended.order.entity;

import java.io.Serializable;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableField;

/**
 * <p>
 *
 * </p>
 *
 * @author yck
 * @since 2021-09-16
 */
public class HktsOrderInfo extends Model<HktsOrderInfo> {

    private static final long serialVersionUID = 1L;

    private String id;
    /**
     * 运单号
     */
    private String wayBillNo;
    /**
     * 运单id
     */
    private String wayBillId;
    /**
     * 客商主键编码
     */
    private String cAccId;
    /**
     * 物料主键、编码
     */
    @TableField("cInv_code")
    private String cinvCode;
    /**
     * 司机身份证
     */
    private String idCode;
    /**
     * 司机姓名
     */
    private String driverName;
    /**
     * 司机手机号
     */
    private String driverMobile;
    /**
     * u8订单编号
     */
    private String orderCode;
    /**
     * u8订单主键
     */
    private String orderId;
    /**
     * 公司code
     */
    private String companyCode;
    /**
     * 公司名称
     */
    private String companyName;
    /**
     * 计划重量
     */
    private BigDecimal plannedWeight;
    /**
     * 创建时间
     */
    private LocalDateTime createTime;
    /**
     * 更新时间
     */
    private LocalDateTime updateTime;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getWayBillNo() {
        return wayBillNo;
    }

    public void setWayBillNo(String wayBillNo) {
        this.wayBillNo = wayBillNo;
    }

    public String getWayBillId() {
        return wayBillId;
    }

    public void setWayBillId(String wayBillId) {
        this.wayBillId = wayBillId;
    }

    public String getcAccId() {
        return cAccId;
    }

    public void setcAccId(String cAccId) {
        this.cAccId = cAccId;
    }

    public String getCinvCode() {
        return cinvCode;
    }

    public void setCinvCode(String cinvCode) {
        this.cinvCode = cinvCode;
    }

    public String getIdCode() {
        return idCode;
    }

    public void setIdCode(String idCode) {
        this.idCode = idCode;
    }

    public String getDriverName() {
        return driverName;
    }

    public void setDriverName(String driverName) {
        this.driverName = driverName;
    }

    public String getDriverMobile() {
        return driverMobile;
    }

    public void setDriverMobile(String driverMobile) {
        this.driverMobile = driverMobile;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getCompanyCode() {
        return companyCode;
    }

    public void setCompanyCode(String companyCode) {
        this.companyCode = companyCode;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public BigDecimal getPlannedWeight() {
        return plannedWeight;
    }

    public void setPlannedWeight(BigDecimal plannedWeight) {
        this.plannedWeight = plannedWeight;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public static final String ID = "id";

    public static final String WAY_BILL_NO = "way_bill_no";

    public static final String WAY_BILL_ID = "way_bill_id";

    public static final String C_ACC_ID = "c_acc_id";

    public static final String CINV_CODE = "cInv_code";

    public static final String ID_CODE = "id_code";

    public static final String DRIVER_NAME = "driver_name";

    public static final String DRIVER_MOBILE = "driver_mobile";

    public static final String ORDER_CODE = "order_code";

    public static final String ORDER_ID = "order_id";

    public static final String COMPANY_CODE = "company_code";

    public static final String COMPANY_NAME = "company_name";

    public static final String PLANNED_WEIGHT = "planned_weight";

    public static final String CREATE_TIME = "create_time";

    public static final String UPDATE_TIME = "update_time";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "HktsOrderInfo{" +
                ", id=" + id +
                ", wayBillNo=" + wayBillNo +
                ", wayBillId=" + wayBillId +
                ", cAccId=" + cAccId +
                ", cinvCode=" + cinvCode +
                ", idCode=" + idCode +
                ", driverName=" + driverName +
                ", driverMobile=" + driverMobile +
                ", orderCode=" + orderCode +
                ", orderId=" + orderId +
                ", companyCode=" + companyCode +
                ", companyName=" + companyName +
                ", plannedWeight=" + plannedWeight +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                "}";
    }
}
